package cn.stylefeng.guns.modular.sht.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 题库信息
 * </p>
 *
 * @author
 * @since 2021-01-22
 */
@TableName("thesis_st_question_bank")
@Data
public class QuestionBank implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 题库名称
     */
    @TableField("name")
    private String name;
    @TableField("open_id")
    private String openId;

    /**
     * 排序
     */
    @TableField("sort")
    private Integer sort;

    @Override
    public String toString() {
        return "QuestionBank{" +
                "id=" + id +
                ", name=" + name +
                ", sort=" + sort +
                "}";
    }
}
